package figure8.events;

import java.util.EventObject;

import figure8.Network.Client;
import figure8.Network.Message;

public class NetworkMessageEvent extends EventObject {
	private Message message;
	private Client client;
	
	public NetworkMessageEvent(Object source, Message message, Client client) {
		super(source);

		this.message = message;
		this.client = client;
	}

	public Message getMessage() {
		return this.message;
	}
	
	public Client getClient() {
		return this.client;
	}
}
